﻿using System;

namespace Core.Base.Module
{
    public class ModuleAttribute : Attribute
    {
        public ModuleAttribute(bool isResident)
        {
            IsResident = isResident;
        }

        /// <summary>
        /// 该Module是否常驻，常驻Module无法注销
        /// </summary>
        public bool IsResident { get; private set; }
    }
}